createAccount

open override fun createAccount(email: String, password: String, onResult: (Throwable?) -> Unit)

Create a new account using the provided email and password. This registers a new user with the specified email and password.

Parameters

email

The email address of the user.

password

The password to associate with the account.

onResult

The callback function to handle the result of account creation.